package com.gupaoedu.vip.pattern.strategy;

/**
 * Created by Administrator on 2018/3/19.
 */
public class ContextStrategy {
    private IPay pay;

    public ContextStrategy( IPay pay){
        this.pay=pay;
    }

    public PayStatus pay(Order order){
        return pay.pay(order);
    }
}
